/*
 * date: 2009-11-20 
 * author: Maciej Smolenski <jezdnia@gmail.com>
 */
#include "common.hpp"
#include "rpc_monitor.hpp"

namespace rm=rpc_monitor;

void test()
{
	rm::stdset s; 

	rm::rpc_monitor_service<shmda_user<rm::rpc_monitor> > user(SHARE_NAME);
	for(int i=0;i<1<<4;i++)
	{
		if (user.get_services(s)==result_failure)
			PR_EXIT("user.get_services", EXIT_FAILURE);
		print_set(s, "\n");
	}
		
}

int main(int argc, char *argv[])
{
	test();
	return 0;
}

